<!--[*
// ----------------------------------------------------------------------
// Source file:  $Source: /cvsroot/pn-commerce/pn-commerce/pntemplates/pncommerce_invoice_display.html,v $
//
// Last changes from:  $Author: landseer $
//
// Revision:           $Revision: 1.35 $
//
// Date of revision    $Date: 2005/03/21 16:16:50 $
//
// Used in: pncommerce&function=reciept 
// This displays the customer's reciept.  Do not confuse this with the printable..
//
// ----------------------------------------------------------------------
*]-->

<!-- admin part of pncommerce_invoice_display start -->

<!--[ pncGetConfigSupplier ]-->
	<table width="640" border="0">
<!--[* store info *]-->
		<tr>
			<td colspan="5" align="center" valign="top"><b><!--[ $shopConfigSupplier.Company ]--></b>
			  <br>
			  <!--[ pnml name='_PNC_ORDERDATE' ]-->: <!--[ $Order.Date|pncDateTimeString ]-->
			</td>
		</tr>
		<tr>
			<td colspan="2" align="center" valign="top"><u><!--[ pnml name='_PNC_STOREDATA' ]-->:</u></td>
			<td colspan="3" align="center" valign="top"><u><!--[ pnml name='_PNC_CUSTOMERDATA' ]-->:</u></td>
		</tr>
		<tr>
			<td align="left" valign="top"><!--[ $shopConfigSupplier.Company ]--><br>
				<!--[ $shopConfigSupplier.Address1 ]--><br>
				<!--[ $shopConfigSupplier.Address2 ]--><br>
				<!--[ $shopConfigSupplier.City ]-->, <!--[ $shopConfigSupplier.State ]--> <!--[ $shopConfigSupplier.Zip ]--><br>
				<!--[ $shopConfigSupplier.Country ]-->
			</td>
			<td width="97" align="left" valign="top"><!--[ $shopConfigSupplier.Phone ]--><br>
				<!--[ $shopConfigSupplier.Fax ]--><br>
				<!--[ $shopConfigSupplier.Email ]--><br>
				<!--[ $shopConfigSupplier.Web ]-->
			</td>
			
<!--[*// customer info *]-->
			<td colspan="2" align="left" valign="top">
				
					<!--[ $Order.UserData.Name ]--><br>
					<!--[ $Order.UserData.Address1 ]--><br>
					<!--[ $Order.UserData.Address2 ]--><br>
					<!--[ $Order.UserData.City ]-->, <!--[ $Order.UserData.State ]--> <!--[ $Order.UserData.Zip ]--><br>
					<!--[ $Order.UserData.Country ]-->
				
			</td>
			<td width="97" align="left" valign="top">
				
					<!--[ $Order.UserData.EvePhone ]--><br>
					<!--[ $Order.UserData.Email ]-->
				
			</td>
		</tr>
		<tr>
			<td height="2" colspan="5">
			</td>
		</tr>
		<tr>
			<td height="14" align="center" valign="middle"><u><!--[ pnml name='_PNC_SHIPPINGDETAILSTEP' ]-->:</u>
			</td>
			<td colspan="4" rowspan="2" align="center" valign="top">
				<table width="100%" border="0">
					<tr>
						<td align="right" valign="top"><!--[ pnml name='_PNC_YOUHAVESELECTEDTOPAYVIA' ]-->: 
						</td>
						<td width="165" align="left" valign="top"><!--[ $Order.CartData.PaymethodFootermsg ]-->
						</td>
					</tr>
       				<tr>
        				<td align="right" valign="top"><!--[ pnml name='_PNC_YOUHAVECHOSENTOSHIPVIA' ]-->:
						</td>
        				<td align="left" valign="top"><!--[ $Order.CartData.ShippingFootermsg ]-->
						</td>
        			</tr>
    			</table>
    		</td>
		</tr>
		<tr>
			<td align="left" valign="top"><!--[ $Order.ShipToAddress.ShipToName ]--><br>
				<!--[ $Order.ShipToAddress.ShipToAddress1 ]--><br>
				<!--[ $Order.ShipToAddress.ShipToAddress2 ]--><br>
				<!--[ $Order.ShipToAddress.ShipToCity ]-->, <!--[ $Order.ShipToAddress.ShipToState ]--> <!--[ $Order.ShipToAddress.ShipToZip ]--><br>
				<!--[ $Order.ShipToAddress.ShipToCountry ]-->				
			</td>
		</tr>
	</table>

<br>

<!--[*// display of what is in the cart *]-->
<table width="640" border="0">
	<tr bordercolor="#CCCCCC">
    	<td width="75" align="center" valign="middle"><!--[ pnml name='_PNC_ITEMSKU' ]--></td>
    	<td width="275" align="center" valign="middle"><!--[ pnml name='_PNC_ITEMNAME' ]--></td>
    	<td width="75" align="center" valign="middle"><!--[ pnml name='_PNC_QUANTITYORDERED' ]--></td>
    	<td width="75" align="center" valign="middle"><!--[ pnml name='_PNC_ITEMCOST' ]--></td>
    	<td width="75" align="center" valign="middle"><!--[ pnml name='_PNC_VAT' ]--></td>
    	<td width="75" align="center" valign="middle"><!--[ pnml name='_PNC_TOTAL' ]--></td>
  	</tr>
</table>
  
<table width="640" border="0">

<!--[ foreach item=Item from=$Order.CartData.Items ]-->
	<tr>
    	<td width="75">
        	<!--[ $Item.ItemSKU ]-->
	    </td>
    	<td width="265">
        	<!--[ $Item.ItemName ]-->
	    </td>
    	<td width="75" align="center" valign="middle">
        	<!--[ $Item.ItemQuantity ]--> 
	    </td>
    	<td width="75" align="center" valign="middle">
        	<!--[ $Item.ItemCost|pncShowAsPrice ]-->
	    </td>
    	<td width="75" align="right">
        	<!--[ $Item.ItemVATAmount|pncShowAsPrice ]--> 
	    </td>
    	<td width="75" align="right">
        	<!--[ $Item.ItemCostTotal|pncShowAsPrice ]-->
	    </td>	
	</tr>
<!--[ /foreach ]-->

</table>

<!--[*// display the prices *]-->
<table width="640" border="0">  
    <tr bordercolor="#CCCCCC">
    	<td align="right" valign="middle">&nbsp;&nbsp;&nbsp;&nbsp;<!--[ pnml name='_PNC_SUBTOTAL' ]-->:</td>
  		<td width="75" align="right" valign="middle"><!--[ $Order.CartData.SubTotal|pncShowAsPrice ]--></td>
  	</tr>
  	<tr bordercolor="#CCCCCC">
    	<td align="right" valign="middle">&nbsp;&nbsp;&nbsp;&nbsp;<!--[ pnml name='_PNC_PAYMENT' ]-->: </td>
    	<td width="75" align="right" valign="middle"><!--[ $Order.CartData.PaymethodTotal|pncShowAsPrice ]--></td>
  	</tr>  
  	<tr bordercolor="#CCCCCC">
    	<td align="right" valign="middle">
			&nbsp;
			&nbsp;
			<!--[ pnml name='_PNC_ORDERWEIGHT' ]-->:&nbsp;
			<!--[ pncGetConfigArticles ]-->
			<!--[ $Order.CartData.WeightTotal ]-->&nbsp;<!--[ pnml name=`$shopConfigArticles.WeightUnit` ]-->
			&nbsp;
			&nbsp;
			&nbsp;
			&nbsp;
			<!--[ pnml name='_PNC_SHIPPINGTOTAL' ]-->: 
		</td>
    	<td width="75" align="right" valign="middle"><!--[ $Order.CartData.ShippingTotal|pncShowAsPrice ]--></td>
  	</tr>
  	<tr bordercolor="#CCCCCC">
    	<td>
			<table width="100%" border="0">
      			<tr>
       				<td width="31%" align="right" valign="middle"><!--[ pnml name='_PNC_VATIDENTNUMBER' ]-->:</td>
        			<td width="44%"><!--[ $Order.UserData.VATIdentNumber ]--></td>
        			<td width="25%" align="right" valign="middle">&nbsp;&nbsp;&nbsp;&nbsp;<!--[ pnml name='_PNC_VAT ]-->:</td>
      			</tr>
    		</table>
		</td>
    	<td width="75" align="right" valign="middle"><!--[ $Order.CartData.VATTotal|pncShowAsPrice ]--></td>
  	</tr>

    <!--[ foreach item=modifier from=$Order.CartData.OrderModifier ]-->
    <!--[ if $modifier.Amount>0 ]-->
  	<tr bordercolor="#CCCCCC">
    	<td align="right" valign="middle">&nbsp;&nbsp;&nbsp;&nbsp;<!--[ $modifier.Info ]-->: </td>
    	<td width="75" align="right" valign="middle"><!--[ $modifier.Amount|pncShowAsPrice ]--></td>
  	</tr>
  	<!--[ /if ]-->
  	<!--[ /foreach ]-->

  	<tr bordercolor="#CCCCCC">
    	<td align="right" valign="middle">&nbsp; &nbsp; &nbsp; &nbsp; <!--[ pnml name='_PNC_TOTAL' ]-->: </td>
    	<td width="75" align="right" valign="middle"><!--[ $Order.CartData.Total|pncShowAsPrice ]--></td>
  	</tr>
</table>

<br>

<!--[*// This is the footer stuff *]-->
<table width="640" border="0">
  	<tr>
    	<td align="left" valign="middle"><!--[ pnml name='_PNC_DISPLAYRECEIPT' ]-->:<br>
        	<a href="<!--[ $InvoiceLinkUrl ]-->"><!--[ $InvoiceLinkUrl ]--></a></td>
  	</tr>
  	<tr>
    	<td align="left" valign="middle">
		<p><!--[ pnml name='_PNC_REFERTORODERNR' html=1 ]-->:
          	<!--[ $Order.OrderNumber ]--></p>
    	</td>
  	</tr>
  	<tr>
    	<td>&nbsp;<!--[ pnml name='_PNC_COMMENTS' html=1 ]-->:<br>
			<!--[ $Order.UserData.Comments ]--></td>
  	</tr>
  	<tr>
    	<td align="center" valign="middle"><!--[ pnml name='_PNC_THANKYOU' html=1 ]-->
        <!--[ $shopConfigSupplier.Company ]--></td>
	</tr>
  	<tr>
    	<td align="center" valign="middle"><!--[ pnml name='_PNC_THISORDERWASAUTOGENFROMWEB' html=1 ]--></td>
  	</tr>
  	<tr>
    	<td align="center" valign="middle"><!--[ pnml name='_PNC_PLEASEKEEPTHIS' html=1 ]-->,
        <!--[ pnml name='_PNC_THISISYOURRECEIPT' html=1 ]-->.</td>
  	</tr>
</table>

    <hr>

<!-- admin part of ppncommerce_invoice_display end -->